package org.nerve.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Date;

/**
 * org.nerve.springboot.controller
 * Created by zengxm on 2015/10/13 0013.
 */
@Controller
@RequestMapping("")
public class TestController {

	@RequestMapping("")
	@ResponseBody
	public String index(){
		return "hello, 现在时间是："+new Date();
	}

	@RequestMapping("/about")
	@ResponseBody
	public String about(){
		return "我的名字是检查小组";
	}
}
